home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ttf-bitstream-vera.postinst < prev    next >
Text File  |  2006-11-08  |  501b  |  21 lines

  1. #!/bin/sh
  2.  
  3. # Automatically added by dh_installdefoma
  4. FILE='/etc/defoma/hints/ttf-bitstream-vera.hints'
  5. if [ "$1" = configure ]; then
  6.     test -x /usr/bin/defoma-font && /usr/bin/defoma-font reregister-all $FILE
  7. fi
  8. # End automatically added section
  9.  
  10.  
  11. if [ "$1" = configure -a -x /usr/bin/fc-cache ]
  12. then
  13.     echo -n "Regenerating fonts cache... "
  14.  
  15.     HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
  16.     (echo "failed; see /var/log/fontconfig.log for more information."; \
  17.     exit 1)
  18.  
  19.     echo "done."
  20. fi
  21.